﻿<%@ Page Language="C#" AutoEventWireup="true"  EnableViewState="false" CodeBehind="MoreLocalColor.aspx.cs"
    Inherits="NJL.Web.MoreLocalColor" %>
<%@ Import Namespace="Royalsoft.Common" %>
<%@ Register Src="Controls/WUCHeader.ascx" TagName="WUCHeader" TagPrefix="uc1" %>
<%@ Register Src="Controls/WUCFooter.ascx" TagName="WUCFooter" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="/Styles/base1.css" />
    <script type="text/javascript" language="javascript" src="/Scripts/jquery-1.4.1.min.js"></script>
        <script type="text/javascript" language="javascript">
            function tab(div, css) {
                document.getElementById("hot").style.display = "none";
                document.getElementById("news").style.display = "none";
                document.getElementById("hotcss").className = "";
                document.getElementById("newscss").className = "";
                document.getElementById(css).className = "now";
                document.getElementById(div).style.display = "block";
            }
            function check() {
                var txtkeywords = document.getElementById("txtKeywords").value;
                txtkeywords = $.trim(txtkeywords);
                if (txtkeywords == "") {
                    document.getElementById("txtKeywords").focus()
                    return false;
                }
            }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <uc1:WUCHeader ID="WUCHeader1" runat="server" />
    <div class="w1003">
        <div class="blank">
        </div>
            <!--位置-->
        <div class="place02">
            <p>
                您现在的位置是：<a href="/">首页</a>>><a href="<%if(WEBSITE_FOCUS_CITY_CODE!="") Response.Write("/"+WEBSITE_FOCUS_CITY_NAME_PINYIN); %>/dfts/">地方特色</a>>>
        <asp:Literal ID="ltlTypeName" runat="server"></asp:Literal><span></p>
        </div>
        <div class="width_260 f_right">
             <!--大热门-->
            <div class="box hotinfo">
                <div class="titleTab">
                    <ul>
                        <li class="now" id="hotcss" onmousemove="tab('hot','hotcss')"><a href="#">大热门</a></li>
                        <li id="newscss" onmousemove="tab('news','newscss')"><a href="#">地方特色</a></li>
                    </ul>
                </div>
                <div class="cont" id="hot" style="height: 200px;">
                    <p>
                        <% 
                            System.Random random = new Random();
                            for (int i = 0; i < LIST_TAG.Count; i++)
                            {
                                int iRandom = random.Next(0, 9);
                        %>
                        <a target="_blank" href="/SearchLocalColor.aspx?keywords=<%=Server.UrlEncode(LIST_TAG[i].TAG) %>&cc=<%=WEBSITE_FOCUS_CITY_NAME_PINYIN%>"
                            class="tag<%=iRandom.ToString() %>">
                            <%=LIST_TAG[i].TAG%>
                        </a>
                        <%
}
                        %>
                    </p>
                    <!--搜索-->
                    <div class="cleanFlex">
                        <asp:TextBox ID="txtKeywords" runat="server" class="inputsearch" Style="width: 175px;"></asp:TextBox>
                        <asp:Button ID="Button1" runat="server" class="searchBtn02" Text="搜索" OnClick="Button1_Click"
                            OnClientClick="return check()" />
                    </div>
                </div>
                <div class="cont" id="news" style="display: none; height: 200px;">
                    <ul class="arrowList">
                        <asp:Repeater runat="server" ID="rptNews">
                            <ItemTemplate>
                                <li><a href="/dfts/dfts/<%#Eval("ID") %>.html" title="<%#Eval("NEWS_TITLE") %>" target="_blank">
                                    <%#PageValidate.SqlText(Eval("NEWS_TITLE").ToString(),18)%></a></li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
            </div>
            <!--本季特色-->
            <div class="cleanFlex blank">
            </div>
            <div class="box">
                <div class="titlearrow">
                    <h2>
                        <strong>本季特色</strong></h2>
                </div>
                <div class="cont">
                        <asp:Repeater ID="rptService" runat="server">
                        <ItemTemplate>
                            <dl class="imglist" style="min-height: 72px; height: 100%">
                                <dt><a target="_blank" title="<%#Eval("SERVICE_NAME") %>" href="/shangpu/<%#Eval("NJL_COMPANY_ID") %>-fuwu-<%#Eval("ID") %>.html">
                                    <img alt="<%#Eval("SERVICE_NAME") %>" src="<%#GetImageUrl(Eval("IMAGE_CODE").ToString(),"2") %>"
                                        class="picBor" width="93px" height="69px" /></a></dt>
                                <dd>
                                    <strong><a target="_blank" title="<%#Eval("SERVICE_NAME") %>" href="/shangpu/<%#Eval("NJL_COMPANY_ID") %>-fuwu-<%#Eval("ID") %>.html">
                                        <%#PageValidate.SqlText(Eval("SERVICE_NAME").ToString(),9)%></a></strong></dd>
                                <dd>
                                    <%#PageValidate.SqlText(Eval("SERVICE_INTRO").ToString(),26)%></dd>
                            </dl>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
            </div>
            <!--周边农家-->
            <div class="cleanFlex blank">
            </div>
            <div class="box">
                <div class="titlearrow">
                    <h2>
                        <strong>周边特色</strong></h2>
                </div>
                <div class="round">
                    <ul class="imglist imgList04">
                  <asp:Repeater ID="rptOtherColor" runat="server">
                            <ItemTemplate>
                                <li style="width: 115px; height: 108px;"><a target="_blank" title="<%#Eval("NEWS_TITLE") %>"
                                    href="/<%#GetAreaNamePinYin(Eval("AREA_CODE").ToString()) %>/dfts/<%#Eval("ID") %>.html">
                                    <img src="<%#GetImageUrl(Eval("IMAGE_CODE").ToString()) %>" width="107px" height="77px"
                                        alt="<%#Eval("NEWS_TITLE") %>" title="<%#Eval("NEWS_TITLE") %>" class="picBor" />
                                </a>
                                    <p>
                                        <a target="_blank" title="<%#Eval("NEWS_TITLE") %>" href="/<%#GetAreaNamePinYin(Eval("AREA_CODE").ToString()) %>/dfts/<%#Eval("ID") %>.html">
                                            <%#PageValidate.SqlText(Eval("NEWS_TITLE").ToString(),7)%>
                                        </a>
                                    </p>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                    <div class="cleanFlex">
                    </div>
                </div>
            </div>
            <div class="cleanFlex blank">
            </div>
            <div class="box">
                <div class="titlearrow">
                    <h2>
                        <strong>景点排行</strong></h2>
                </div>
                <div class="cont">
                    <ul class="arrowList">
                              <asp:Repeater ID="rptHot" runat="server">
                            <ItemTemplate>
                                <li><a href="/<%#GetAreaNamePinYin(Eval("AREA_CODE").ToString()) %>/jdms/<%#Eval("ID") %>.html"
                                    target="_blank">
                                    <%#PageValidate.SqlText(Eval("ATTRACTION_NAME").ToString(), 18)%></a></li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
            </div>
        </div>
        <div class="w_730 f_left">
            <div class="titleArr">
                <h2>
                    地方特色——<asp:Literal ID="ltlTypeName1" runat="server"></asp:Literal></h2>
            </div>
            <div class="cont">
                <asp:Repeater ID="rptLocalColor" runat="server">
                    <ItemTemplate>
                        <div class="attBor">
                            <div class="localName">
                                <strong class="greenlink"><a href="/<%#GetAreaNamePinYin(Eval("AREA_CODE").ToString()) %>/dfts/<%#Eval("ID")%>.html" title="<%#Eval("NEWS_TITLE")%>" target="_blank"><%#Eval("NEWS_TITLE")%></a></strong> <span>（已被关注<strong><%#Eval("VISIT_COUNT")%></strong>次）</span>
                            </div>
                            <div class="attrpic">
                                <a href="/<%#GetAreaNamePinYin(Eval("AREA_CODE").ToString()) %>/dfts/<%#Eval("ID")%>.html" title="<%#Eval("NEWS_TITLE")%>" target="_blank">
                                    <img src="<%#Eval("IMAGE_CODE").ToString()!=""?GetImageUrl(Eval("IMAGE_CODE").ToString(),"1"):"/Images/nopic.jpg" %>" alt="<%#Eval("NEWS_TITLE")%>" title="<%#Eval("NEWS_TITLE")%>" width="147" height="105" class="picBor" /></a>
                            </div>
                            <div class="attInfo">
                                <p>
                                   <%#Eval("NEWS_SUBJECT_TITLE")%>
                                    <span class="greenlink"><a href="/<%#GetAreaNamePinYin(Eval("AREA_CODE").ToString()) %>/dfts/<%#Eval("ID")%>.html" title="<%#Eval("NEWS_TITLE")%>" target="_blank">【详情】</a></span>
                                </p>
                                <p>
                                    <span class="grayfont">发布时间：</span><%#Eval("CREATE_DATE_TIME")%></p>
                            </div>
                            <div class="cleanFlex">
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
            <div class="pageBord cleanFlex m_top_20" id="pager" runat="server">
           
            </div>
        </div>
        <div class="cleanFlex">
        </div>
    </div>
    <uc2:WUCFooter ID="WUCFooter1" runat="server" />
    </form>
</body>
</html>
